package com.rbs.service.impl;

import com.rbs.entity.Order;
import com.rbs.entity.OrderItem;
import com.rbs.mapper.OrderItemMapper;
import com.rbs.service.OrderItemService;
import com.rbs.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderItemServiceImpl implements OrderItemService {
    @Autowired
    private OrderItemMapper orderItemMapper;
    @Override
    public void insertOrderItem(OrderItem orderItem) {
        orderItemMapper.insertOrderItem(orderItem);
    }
}
